<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});

Route::get('hello/:name', 'index/hello');

Route::get('modbus', 'Modbus/index')->middleware('check');

Route::get('modbustcp3', 'Modbus/test_fc3');

Route::get('model_event', 'ModelEvent/testModelEvent');
Route::get('weixin_notify', 'PayNotify/weixinNotify');

//Route::get('test2', 'Index/test2');

Route::rule('test2','Index/test2')->middleware('log')->middleware('check');

Route::rule('movieSearch', 'DouBan/search');

Route::rule('ossTest', 'OssTest/test');
Route::rule('uploadFile', 'OssTest/uploadFile');
Route::rule('multipartUpload', 'OssTest/multipartUpload');
Route::rule('getTempPlicy', 'OssTest/getTempPlicy');

Route::rule('cfRecommend', 'Test/testCfRecommend');

return [

];
